package com.improve.frame.common.bean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @Description 请求分页数据封装
 * @Author wzxing918
 * @Date 2021-03-31
 * @Version 1.0.0
 **/
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "RequestPage")
public class RequestPage<T> extends RequestData<T> {
    /**
     * 页码
     */
    @ApiModelProperty(value = "页码，默认1", name = "pageNo", example = "1")
    private int pageNo = 1;
    /**
     * 每页大小，默认10
     */
    @ApiModelProperty(value = "每页大小，默认10", name = "pageSize", example = "10")
    private int pageSize = 10;
}